package hello;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import org.springframework.hateoas.ResourceSupport;

public class UserList extends ResourceSupport {

    private List<User> list;


    public UserList(Collection<User> users) {
        this.list = new ArrayList<>();
        this.list.addAll(users);
    }

    /**
     * @return
     */
    public List<User> getUserList() {
        return list;
    }
}